<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel='icon' href='/favicon.ico' type='image/ico'/>
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <title>自己个人做的</title>

    <!--icheck-->
    {{--<link href="/asset/js/iCheck/skins/minimal/minimal.css" rel="stylesheet">--}}
    {{--<link href="/asset/js/iCheck/skins/square/square.css" rel="stylesheet">--}}
    {{--<link href="/asset/js/iCheck/skins/square/red.css" rel="stylesheet">--}}
    {{--<link href="/asset/js/iCheck/skins/square/blue.css" rel="stylesheet">--}}

            <!--dashboard calendar-->
    {{--<link href="/asset/css/clndr.css" rel="stylesheet">--}}

    <!--Morris Chart CSS -->
    {{--<link rel="stylesheet" href="/asset/js/morris-chart/morris.css">--}}

    <!--common-->
    <link href="/asset/css/style.css" rel="stylesheet">
    <link href="/asset/css/style-responsive.css" rel="stylesheet">
    @section("_css")
    @show
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="/asset/js/html5shiv.js"></script>
    <script src="/asset/js/respond.min.js"></script>
    <![endif]-->
</head>

<body class="sticky-header">
{{--@include("layouts.home.header")--}}
@include("layouts.home.nav")

<div class="header-outer">
    <div class="header-content" >
        <!-- header section start-->
        <div class="header-section">
            <!--logo start-->
            <div class="logo">
                <a href="/"></a>
            </div>
            <!--logo button end-->

            <!--sys_name start-->
            <span class="sys_name"></span>
            <!--sys_name end-->

            <!--notification menu start -->
            <div class="menu-right">
                <ul class="notification-menu">

                    <li>
                        <span class="sys_user">Welcome @if(Session::get('user_info')),</span><span class="sys_user">{{Session::get('user_info')['name']}}@endif</span>
                    </li>
                    @if(Session::get('user_info'))
                    <li>
                        <a class="line_a" href="">账号管理</a>
                    </li>
                    <li>
                        <a class="line_a" href="/Home/Login/logout">退出</a>
                    </li>
                    @endif
                </ul>
            </div>
            <!--notification menu end -->

        </div>
        <!-- header section end-->

        <nav class="nav-sections">
            {{--<ul class="nav-menu">--}}
                {{--<li><a onclick="goPage('/')" class="nav-li{{$nav == 'index'? ' cover' :''}}">我的主页</a></li>--}}
                {{--<li><a onclick="goPage('/')" class="nav-li{{$nav == 'list'? ' cover' :''}}">我的列表</a></li>--}}
                {{--<li><a onclick="goPage('/Admin/Blog/index')" class="nav-li{{$nav == 'blog'? ' cover' :''}}">发布新的</a></li>--}}
                {{--<li><a onclick="goPage('/')" class="nav-li{{$nav == 'other'? ' cover' :''}}">其它设置</a></li>--}}

            {{--</ul>--}}

            <ul class="nav nav-tabs" role="tablist">
                <li role="presentation" @if($nav == 'index')class="active"@endif><a href="/Admin/Index/index"><span class="glyphicon glyphicon-home"></span> 我的主页</a></li>
                <li role="presentation" @if($nav == 'list')class="active"@endif><a href="/Admin/Blog/bloglist"><span class="glyphicon glyphicon-list"></span> 我的博客</a></li>
                <li role="presentation" @if($nav == 'blog')class="active"@endif><a href="/Admin/Blog/add"><span class="glyphicon glyphicon-pencil"></span> @if(isset($blogInfo) && $blogInfo != '')重新编辑@else发布新的@endif</a></li>
                <li role="presentation" @if($nav == 'other')class="active"@endif><a href="/Admin/Index/other"><span class="glyphicon glyphicon-cog"></span> 其它设置</a></li>
            </ul>
        </nav>
    </div>
</div>

<section>
            <!-- main content start-->
    <div class="main-content" >

        @section("main_content")
        @show
    </div>
</section>

<footer>
    <p><a href="http://www.miitbeian.gov.cn/" style="color: black;">蜀ICP备16031530号-1</a></p>
</footer>


<!-- Placed js at the end of the document so the pages load faster -->
<script src="/asset/js/jquery-1.10.2.min.js"></script>
<script src="/asset/js/bootstrap.min.js"></script>

<!--easy pie chart-->
{{--<script src="/asset/js/easypiechart/jquery.easypiechart.js"></script>--}}
{{--<script src="/asset/js/easypiechart/easypiechart-init.js"></script>--}}

{{--<!--Sparkline Chart-->--}}
{{--<script src="/asset/js/sparkline/jquery.sparkline.js"></script>--}}
{{--<script src="/asset/js/sparkline/sparkline-init.js"></script>--}}

{{--<!--icheck -->--}}
{{--<script src="/asset/js/iCheck/jquery.icheck.js"></script>--}}
{{--<script src="/asset/js/icheck-init.js"></script>--}}

{{--<!-- jQuery Flot Chart-->--}}
{{--<script src="/asset/js/flot-chart/jquery.flot.js"></script>--}}
{{--<script src="/asset/js/flot-chart/jquery.flot.tooltip.js"></script>--}}
{{--<script src="/asset/js/flot-chart/jquery.flot.resize.js"></script>--}}


{{--<!--Morris Chart-->--}}
{{--<script src="/asset/js/morris-chart/morris.js"></script>--}}
{{--<script src="/asset/js/morris-chart/raphael-min.js"></script>--}}

{{--<!--Calendar-->--}}
{{--<script src="/asset/js/calendar/clndr.js"></script>--}}
{{--<script src="/asset/js/calendar/evnt.calendar.init.js"></script>--}}
{{--<script src="/asset/js/calendar/moment-2.2.1.js"></script>--}}
{{--<script src="//cdn.bootcss.com/underscore.js/1.8.3/underscore-min.js"></script>--}}

<!--common scripts for all pages-->
{{--<script src="/asset/js/scripts.js"></script>--}}
<script src="/asset/js/app-common.js"></script>

<!--Dashboard Charts-->
{{--<script src="/asset/js/dashboard-chart-init.js"></script>--}}
@section("_js")
@show
</body>
</html>
